QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
win32 {
    QMAKE_CXXFLAGS += /source-charset:utf-8
    RC_ICONS = $$PWD/res/PhotonSlicer.ico
    LIBS += Advapi32.lib Shlwapi.lib
    CONFIG(debug, debug|release) {
        DESTDIR=$$PWD/package
    }
    else {
        DESTDIR=$$PWD/package
    }
}

SOURCES += \
    bkwidget.cpp \
    main.cpp \
    messageinfomation.cpp \
    newframe.cpp \
    transtext.cpp

HEADERS += \
    bkwidget.h \
    messageinfomation.h \
    newframe.h \
    transtext.h

FORMS += \
    bkwidget.ui \
    messageinfomation.ui

RESOURCES += \
    res.qrc


